<?php

use app\Services\admin\SeatService;
use yii\web\Controller;

class CrontabController extends Controller
{

    public function actionUpdateSeat()
    {
        $req = $this->req;
        $res = SeatService::getInstance()->updateSeat();
        Helper::right_out($req, $res);
    }


    public function actionOnlineState()
    {
        $req = $this->req;
        $res = SeatService::getInstance()->onlineState();
        Helper::right_out($req, $res);
    }

    
}


?>